PROJECTENGRAM

PROBABILITY MASS FUNCTION

Tags: #◇Computer Science #◇STT101A #◇Conceptual #◇Probability Mass Function


◇Overview

The Probability Mass Function (PMF) of a discrete random variable XX, denoted pX(x)p_X(x) or f(x)=P(X=x)f(x) = P(X = x), assigns a probability mass to each possible discrete value xx in the support RXR_X.

◇Key Definitions

  • PMF Definition: pX(x)=P(X=x)=P({ω∈S:X(ω)=x})p_X(x) = P(X = x) = P(\{\omega \in S : X(\omega) = x\}) for x∈Rx \in \mathbb{R}.
  • Support (RXR_X): The countable set of values with strictly positive probability: RX={x∈R:pX(x)>0}R_X = \{x \in \mathbb{R} : p_X(x) > 0\}.
  • Two Defining Axioms of a Valid PMF:
    1. Non-negativity: pX(x)≥0p_X(x) \ge 0 for all x∈Rx \in \mathbb{R}.
    2. Normalization (Sums to 1): ∑x∈RXpX(x)=1\sum_{x \in R_X} p_X(x) = 1.
  • Relation to CDF FX(x)F_X(x): FX(x)=∑t≤xpX(t)F_X(x) = \sum_{t \le x} p_X(t), and for ordered support x1<x2<⋯x_1 < x_2 < \cdots, pX(xi)=FX(xi)−FX(xi−1)p_X(x_i) = F_X(x_i) - F_X(x_{i-1}).

◇Worked Example

Problem: Verify that p(x)=x230p(x) = \frac{x^2}{30} for x∈{1,2,3,4}x \in \{1, 2, 3, 4\} is a valid PMF, and compute P(X≥3)P(X \ge 3).

Solution:

  1. Non-negative: p(x)>0p(x) > 0 for each x∈{1,2,3,4}x \in \{1, 2, 3, 4\}.
  2. Sum: ∑x=14x230=1+4+9+1630=3030=1\sum_{x=1}^4 \frac{x^2}{30} = \frac{1 + 4 + 9 + 16}{30} = \frac{30}{30} = 1. (Valid PMF!)
  3. P(X≥3)=p(3)+p(4)=930+1630=2530=56P(X \ge 3) = p(3) + p(4) = \frac{9}{30} + \frac{16}{30} = \frac{25}{30} = \frac{5}{6}.

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

Which two conditions are both necessary and sufficient for a function p(x)p(x) on a countable set RXR_X to be a valid Probability Mass Function (PMF)?

Q2

Let XX have PMF p(x)=k(2x+1)p(x) = k(2x + 1) for x∈{0,1,2}x \in \{0, 1, 2\}. What must the constant kk equal?

Q3

How can you recover the PMF value pX(xi)=P(X=xi)p_X(x_i) = P(X = x_i) at a jump point xix_i from the Cumulative Distribution Function FX(x)F_X(x)?

Q4

What is the PMF of a Poisson random variable X∼Poisson(λ)X \sim \text{Poisson}(\lambda) for x∈{0,1,2,… }x \in \{0, 1, 2, \dots\}?

Q5

Why do we use a Probability Mass Function (PMF) for discrete random variables, whereas continuous random variables require a Probability Density Function (PDF)?

Probability Mass Function | PROJECT ENGRAM